const http = uni.$u.http
//获取赛事列表
export const getSaishiList = (data) =>http.get('/hdMp/mach/machInfo/list',{params:{delFlag:'0',...data}})
//获取赛事详情
export const getSaishiContent = (matchId) =>http.get('/hdMp/mach/machInfo/'+matchId)
//获取正在进行中的赛事列表
export const getSaishiIngInput = (matchId) =>http.get('/hdMp/mach/machForm/using/'+matchId,{custom:{auth:true}})
//报名提交
export const getSaishiSubmit = (data) =>http.post('/hdMp/apply/join',{...data},{custom:{auth:true}})
//通过表单id获取字段/hdMp/apply/form/{formId}
export const getSaishiField = (formId) =>http.get('/hdMp/apply/form/'+formId,{custom:{auth:true}})